//
//  ProfileDataSource.m
//  dangdang
//
//  Created by air on 15/12/8.
//  Copyright © 2015年 luweijie. All rights reserved.
//

#import "ProfileDataSource.h"

@implementation ProfileDataSource

- (NSMutableArray *)profileList {
    
    if (!_profileList) {
        _profileList = [NSMutableArray new];
        
        Profile *profile1 = [[Profile alloc] initWithName:@"申请为快递员" andPicture:@"317.png" andDestinationName:@"ApplyViewController"];
        Profile *profile2 = [[Profile alloc] initWithName:@"我的订单" andPicture:@"326.png" andDestinationName:@"InProgressViewController"];
        Profile *profile3 = [[Profile alloc] initWithName:@"价格表" andPicture:@"hk_icon4_price.png" andDestinationName:@"PriceListViewController"];
        Profile *profile4 = [[Profile alloc] initWithName:@"我的钱包" andPicture:@"382.png" andDestinationName:@"MyWalletViewController"];
        Profile *profile5 = [[Profile alloc] initWithName:@"账单明细" andPicture:@"1595.png" andDestinationName:@"TransactionDetailTableViewController"];
        Profile *profile6 = [[Profile alloc] initWithName:@"关于我们" andPicture:@"4519.png" andDestinationName:@"AboutViewController"];
        
        [_profileList addObject:@[profile1]];
        [_profileList addObject:@[profile2, profile3, profile4]];
        [_profileList addObject:@[profile5, profile6]];
    }
    
    return _profileList;
}

@end
